package com.qidianit.mes.pro.service.impl;

import com.qidianit.mes.pojo.Result;
import com.qidianit.mes.pojo.SysUser;
import com.qidianit.mes.pro.mapper.SysUserMapper;
import com.qidianit.mes.pro.service.SysUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @ Description:
 * @ Author:WuJingLei
 * @ Date: 2025/10/3 -9:41
 */
@Service

public class SysUserServiceImpl implements SysUserService {
    @Autowired
    private SysUserMapper userMapper;
    @Override
    public Result<SysUser> queryById(Long id) {
        return Result.success(userMapper.getUserById(id));
    }
}
